package com.ctriphotel.website.config;

import java.util.HashMap;
import java.util.Map;

public class Constants {
    public static final String SPRING_PROFILE_DEVELOPMENT = "dev";
    public static final String SPRING_PROFILE_PRODUCTION = "prod";

    private static Map<String, String> NODE_PROP = new HashMap(){{
        put("IS_DEV", String.valueOf(false));
        put("DOMAIN", "");
    }};

    public static String getNodeStatusValue(String key) {
        return NODE_PROP.get(key);
    }

    public static void modifyNodeStatusValue(String key, String val) {
        NODE_PROP.put(key, val);
    }
}
